#ifndef __PLAY_SCENE_H__
#define __PLAY_SCENE_H__

#include "cocos2d.h"
#include "BaseScene.h"
#include "Controller.h"
//#include "Player.h"


class Player;
class BlockManager;
class PlayLayerUI;

class PlayScene : public BaseScene
{
public:
	virtual void runThisScene();

	PlayScene();
};

class PlayLayer : public cocos2d::CCLayer
{
public:
	CCSize _size;
	CCPoint _velocity;
    PlayLayerUI* _ui;

	virtual bool init();
	void moveLeft(CCObject* pSender);
	void moveRight(CCObject* pSender);

	CREATE_FUNC(PlayLayer);
    
private:
    CCMenu* _pMenu;
    Player* _pPlayer;
    BlockManager* _blockManager;
    void update(float dt);
};


#endif  // __PLAY_SCENE_H__